func math/bits.Sub
11 uses
math/bits (current package)
bits.go#L402: func Sub(x, y, borrow uint) (diff, borrowOut uint) {
math/big
arith.go#L83: zi, cc := bits.Sub(uint(x[i]), uint(y[i]), uint(c))
arith.go#L165: zi, cc := bits.Sub(uint(x[0]), uint(y), 0)
arith.go#L191: zi, cc := bits.Sub(uint(x[i]), uint(c), 0)
arith.go#L301: r0, b := bits.Sub(uint(x0), dq0, 0)
arith.go#L302: r1, _ := bits.Sub(uint(x1), dq1, b)
crypto/internal/fips140/bigmod
nat.go#L47: _, c1 := bits.Sub(x, y, 0)
nat.go#L48: _, c2 := bits.Sub(y, x, 0)
nat.go#L340: _, c = bits.Sub(xLimbs[i], yLimbs[i], c)
nat.go#L394: xLimbs[i], c = bits.Sub(xLimbs[i], yLimbs[i], c)
nat.go#L631: dLimbs[i], borrow = bits.Sub(xLimbs[i], mLimbs[i], borrow)